[IA64] obvious compilation fix (hypercall.h, hypervisor.h)
authorawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:36:14 +0000 (10:36 -0700)
committerawilliam@xenbuild.aw <awilliam@xenbuild.aw>
Fri, 24 Mar 2006 17:36:14 +0000 (10:36 -0700)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
linux-2.6-xen-sparse/include/asm-ia64/hypercall.h
linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h

index b260c56e76af67b4d050dea1b3fc88acd98567f6..c04317af6a9d5d4bcee1c45f5994367c1b16ea99 100644 (file)
@@ -37,6 +37,7 @@
 #include <xen/interface/sched.h>
 #include <xen/interface/dom0_ops.h>
 #include <linux/errno.h>
+#include <asm/hypervisor.h> // for jiffies_to_st()
 
 /* FIXME: temp place to hold these page related macros */
 #include <asm/page.h>
index 4a5f42441756f2a77d2b5728f63278bb7aaebc41..279e3a33135a171bbb17c62711c6640dcc0b0d05 100644 (file)
@@ -41,6 +41,7 @@
 #include <xen/interface/dom0_ops.h>
 #include <asm/ptrace.h>
 #include <asm/page.h>
+#include <asm/xen/privop.h> // for running_on_xen
 
 extern shared_info_t *HYPERVISOR_shared_info;
 extern start_info_t *xen_start_info;
@@ -52,8 +53,6 @@ int xen_init(void);
 /* Turn jiffies into Xen system time. XXX Implement me. */
 #define jiffies_to_st(j)       0
 
-#include <asm/hypercall.h>
-
 // for drivers/xen/privcmd/privcmd.c
 #define direct_remap_pfn_range(a,b,c,d,e,f) remap_pfn_range(a,b,c,d,e)
 #define        pfn_to_mfn(x)   (x)